"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var common_1 = require("@angular/common");
var main_routing_module_1 = require("./main-routing.module");
var http_1 = require("@angular/http");
var validator_module_1 = require("../comm-components/directives/validator.module");
var forms_1 = require("@angular/forms");
var notification_module_1 = require("../comm-components/notification/notification.module");
var datepicker_module_1 = require("../comm-components/datepicker/datepicker.module");
var ad_oss_upload_service_1 = require("../lib/service/ad-oss-upload.service");
var address_service_1 = require("../lib/service/address.service");
var local_storage_service_1 = require("../lib/service/local-storage.service");
var main_component_1 = require("./main.component");
var main_header_component_1 = require("../comm-components/main-header/main-header.component");
var ngx_bootstrap_1 = require("ngx-bootstrap");
var main_side_module_1 = require("../comm-components/main-side/main-side.module");
var MainModule = /** @class */ (function () {
    function MainModule() {
    }
    MainModule = __decorate([
        core_1.NgModule({
            imports: [
                common_1.CommonModule,
                forms_1.FormsModule,
                http_1.JsonpModule,
                validator_module_1.CDSModule,
                main_routing_module_1.AdminRoutingModule,
                ngx_bootstrap_1.Ng2BootstrapModule,
                notification_module_1.NotificationModule,
                datepicker_module_1.datepickerModule,
                main_side_module_1.MainSideModule
            ],
            declarations: [
                main_component_1.MainComponent,
                main_header_component_1.MainHeaderComponent,
            ],
            providers: [
                ad_oss_upload_service_1.AdOssUploadService,
                address_service_1.AddressService,
                local_storage_service_1.LocalStorageService
            ]
        })
    ], MainModule);
    return MainModule;
}());
exports.MainModule = MainModule;
